import {useAxios} from "../../hooks/web/useAxios";

const request = useAxios();

// 获取血氧预警值
export const getWarnValueSet = () => {
    return request.get({
        url: '/system/set/getWarnValueSet'
    });
}

// 保存血氧预警值
export const saveWarnValue = (data) => {
    return request.post({
        url: '/system/set/saveWarnValue',
        data
    });
}